Manager: Memory Management Utilities



While Carbon will support most of the Memory Management Utilities, there are changes to functions that assume a 68K runtime environment.

* Functions that flush caches on 68K processors (such as FlushInstructionCache, FlushDataCache, and FlushCodeCacheRange) will no longer be supported.

* Functions such as SetA5 or SetCurrentA5 will do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8.

* The functions GetMMUMode and SwapMMUMode will not be supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon–compliant.

* The SysEnvirons function will no longer be supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.

 Delay

 Dequeue

 DTInstall

 Enqueue

 FlushCodeCache

68K-specific.

 FlushCodeCacheRange

68K-specific.

 FlushDataCache

68K-specific.

 FlushInstructionCache

68K-specific. Use MakeDataExecutable on PowerPC machines.

 GetMMUMode

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.

 GetSysPPtr

 InitUtil

 IsMetric

 MakeDataExecutable

 ReadLocation

 SetA5

68K-specific. Does nothing in PowerPC native code.

 SetCurrentA5

68K-specific. Does nothing in PowerPC native code.

 SwapDataCache

 SwapInstructionCache

 SwapMMUMode

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.

 SysEnvirons

Uses working directories. Use FindFolder and Gestalt instead.

 WriteLocation

 WriteParam

[Table of Contents] [Function Index]

Generated on: 2/12/99. Copyright 1998 Apple Computer, Inc. All rights reserved.